<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>景区领导决策-登录</title>
    <link rel="stylesheet" href="../css/public.css">
    <link rel="stylesheet" href="../css/login.css">
</head>
<body>
    <div class="box login-box">
        <h3 class="head-font">登录</h3>
        <div class="form-box">
            <div class="form-group">
                <input type="text" placeholder="请输入账号">
                <img class="close" src="../images/icon-close.png" alt="">
            </div>
            <div class="form-group">
                <input type="text" placeholder="请输入密码">
                <img class="eye-open" src="../images/icon-eye-open.png" alt="">
                <img class="eye-close hd" src="../images/icon-eye-close.png" alt="">
            </div>
        </div>
        <button class="active">登录</button>
      </div>
      <script src="../plugin/jquery-1.11.1.min.js"></script>
      <script>
          $('.eye-open').click(function(){
              $(this).addClass('hd').siblings('.eye-close').removeClass('hd')
              $(this).siblings('input').attr('type','password')
          })
          $('.eye-close').click(function(){
              $(this).addClass('hd').siblings('.eye-open').removeClass('hd')
              $(this).siblings('input').attr('type','text')
          })
      </script>
</body>
</html>